package com.fs.spring.test.model;

import com.fs.common.entity.LongIdEntity;

/**
 * @author shuai.fang
 * @date：2017-08-10
 * @description：
 */
public class Car extends LongIdEntity {

	private String name;
	private String brand;
	private String color;

	public Car() {}

	public Car(Long id, String name) {
		this.setId(id);
		this.name = name;
	}

	public Car(String name, String brand) {
		this.name = name;
		this.brand = brand;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}
}
